import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

import user from './user.js'
import cart from './cart.js'
import order from './order.js'

// 创建并暴露store
export default new Vuex.Store({
	modules: {
		user,
		cart,
		order
	}
})
